A. Use the keygen's topmost dropdown list to select your product.
B. Go to the machine that contains the Visual Studio installation for which you'd like to install GhostDoc.
C. Close all running instances of Visual Studio.
D. Launch the CodeRight/GhostDoc setup and install the software.
E. After the SubMain installation has completed, launch Visual Studio.
F. Go to the Tools menu and find the entry for the SubMain product you just installed (such as CodeRight or GhostDoc), then click on the Enter License Key menu option to present the User Registration dialog.
G. Disconnect the development machine from the internet.
H. Click the User Registration dialog's Offline Activation button.
I. In the Offline Activation dialog, you will see a Licensed to field. Type a name there and remember what you entered. Also take note of the Computer Id value.
J. Go back to the keygen UI and enter the Computer Id value in the box having the placeholder value "you computer id here". Now enter the value you gave for Licensed to into the field containing the text "popper0" (making sure to delete the entire "popper0" text first).
K. Don't edit or alter the value "777" in the keygen dialog (this ends up as the number of copies value in the SubMain About dialog that appears after you've unlocked the software; I've not played with this value so I'll leave that up to you--I do know that leaving it at "777" worked just fine...).
L. Click Generate. You will see an alphanumeric License Key (with dashes) and an alphanumeric Unlock code.
M. Now go back to the Offline Activation dialog and enter the license key and unlock code values.
N. The Offline Activation dialog's Send and Preview... buttons let you send and preview the content that would be sent to SubMain for activation by email. Don't bother clicking either of these buttons. Instead, click the Unlock button. If you had entered the correct license key and unlock code values then you will see a "Thank you for your registration" message appear.
O. Navigate to c:\windows\system32\drivers\etc and open the hosts file with a notepad.exe that's launched using the Run as administrator option.
P. Add the following line to the hosts file:

127.0.0.1 ws.submain.com

The above line prevents the SubMain product from being able to phone-home and report information about your registration, machine code, etc.

Now save and close the hosts file.

Q. Reconnect to the internet.Mehrshad!23
